package com.qf.bank.response;

import lombok.Getter;

/**
 * @author YaoJiXing
 * created 2022/11/21 14:37
 */
@Getter
public enum RCodes {

    FAIL(0, "失败"),
    SUCC(1, "成功"),
    NOT_LOGIN(2, "未登录"),
    FREEZE(3, "账户已冻结"),
    DATA_CHECKED_ERROR(4, "参数校验异常");

    private Integer code;
    private String msg;

    RCodes(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
